package client

import (
	"akirakazu/go-simplejson"
)

type ClientDelegate interface {
	onRequest(*Pack)
	onPush(string, *json.Json)
	onFile(*json.Json) *json.Json
	onFileError(*json.Json, string)
	onByteArray(*json.Json, []byte)
	onFileTransmitStatusUpdated(*json.Json, float64, float64)
	onLoginSuccess()
	onClose(string)
	onError(string)
	onLoginFailure(string)
	onDebug(string)
	onWarn(string)
}
